package com.zhyl.demo.service;

import com.zhyl.demo.entity.News;

import java.util.ArrayList;

public interface NewsService {
    ArrayList<News> list();

    Boolean addNews(News news);

    Boolean editNews(News news);

    Boolean deleteNews(Integer id);

    ArrayList<News> allList();
}
